<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
</head>

<body>
    <div class="header container">
        <div class="page-header">
            <h1>留言板 <small>天亮教育</small></h1>
            <a class="btn btn-success" href="/add">发表留言</a>
        </div>

        <div class="comments container">
            <ul class="list-group">

                {{each list}}
                <li class="list-group-item"><span style="color: aqua;">{{$value.name}}:</span> {{$value.message}} <span
                        class="pull-right">{{$value.time}}</span></li>
                {{/each}}
            </ul>
        </div>
</body>

</html>